package math;

public class Vector2D extends Vector {
	
	public Vector2D(Double v1, Double v2) {
		n = 2;
		v = new Double [n];
		v[0] = v1;
		v[1] = v2;
	//	super(arr);
	}

	public Double getV1() {
		return this.v[0];
	}

	public void setV1(Double v1) {
		this.v[0] = v1;
	}

	public Double getV2() {
		return this.v[1];
	}

	public void setV2(Double v2) {
		this.v[1] = v2;
	}
	
	

}
